<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.ld.com/shield/tags" prefix="shield"%>
<%@ taglib uri="http://www.ld.com/system/tags" prefix="system"%>
<%@ page trimDirectiveWhitespaces="true" %>
<fmt:setLocale value="zh_CN"/>
<%-- 权限判断 --%>
<shield:permssion type="button">
<table class="tab-list shield-table-odd">
	<col width="60">
	<col width="">
	<col width="">
	<col width="">
	<col width="55">
    <tr>
        <th>序号</th>
        <th>名称</th>
		<th>值</th>
		<th>备注</th>
        <th >操作</th>
    </tr>
<c:forEach var="config" items="${configs }" varStatus="var">
    <tr>
        <td style="text-align: center;">${var.count }</td>
        <td title="${config.key }">${config.key }</td>
		<td title="${config.value }">${config.value }</td>
		<td title="${config.comment }">${config.comment }</td>
        <td>
        	<!-- href改为data-url -->
            <a data-url="${ctxPathA }/properties/toUpdate?key=${config.key}&ty=${ty}" class="shieldDialog shield-icon update" viewTitle="修改配置文件管理" data-icon-title="修改配置文件管理"
               viewWidth="800"></a>
        </td>
    </tr>
</c:forEach>
<c:if test="${empty configs }">
 	<!-- 无数据时展示，有数据时展示上面的列表 -->
	<tr class="nodatatr_plugin">
        <td colspan="5" class="taCenter">暂无数据</td>
    </tr>
</c:if>
</table>
</shield:permssion>
